from django.contrib import admin
from .models import Blog,Entry
# Register your models here.
class BlogAdmin(admin.ModelAdmin):
    fields = ['name','tagline']
admin.site.register(Blog,BlogAdmin)

class EntryAdmin(admin.ModelAdmin):
    fields = ['headline','blog']
admin.site.register(Entry,EntryAdmin)